
myprocess:     file format elf64-x86-64


Disassembly of section .init:

00000000004004f8 <_init>:
  4004f8:	48 83 ec 08          	sub    $0x8,%rsp
  4004fc:	48 8b 05 f5 0a 20 00 	mov    0x200af5(%rip),%rax        # 600ff8 <__gmon_start__>
  400503:	48 85 c0             	test   %rax,%rax
  400506:	74 05                	je     40050d <_init+0x15>
  400508:	e8 63 00 00 00       	callq  400570 <__gmon_start__@plt>
  40050d:	48 83 c4 08          	add    $0x8,%rsp
  400511:	c3                   	retq   

Disassembly of section .plt:

0000000000400520 <.plt>:
  400520:	ff 35 e2 0a 20 00    	pushq  0x200ae2(%rip)        # 601008 <_GLOBAL_OFFSET_TABLE_+0x8>
  400526:	ff 25 e4 0a 20 00    	jmpq   *0x200ae4(%rip)        # 601010 <_GLOBAL_OFFSET_TABLE_+0x10>
  40052c:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000400530 <puts@plt>:
  400530:	ff 25 e2 0a 20 00    	jmpq   *0x200ae2(%rip)        # 601018 <puts@GLIBC_2.2.5>
  400536:	68 00 00 00 00       	pushq  $0x0
  40053b:	e9 e0 ff ff ff       	jmpq   400520 <.plt>

0000000000400540 <getpid@plt>:
  400540:	ff 25 da 0a 20 00    	jmpq   *0x200ada(%rip)        # 601020 <getpid@GLIBC_2.2.5>
  400546:	68 01 00 00 00       	pushq  $0x1
  40054b:	e9 d0 ff ff ff       	jmpq   400520 <.plt>

0000000000400550 <printf@plt>:
  400550:	ff 25 d2 0a 20 00    	jmpq   *0x200ad2(%rip)        # 601028 <printf@GLIBC_2.2.5>
  400556:	68 02 00 00 00       	pushq  $0x2
  40055b:	e9 c0 ff ff ff       	jmpq   400520 <.plt>

0000000000400560 <__libc_start_main@plt>:
  400560:	ff 25 ca 0a 20 00    	jmpq   *0x200aca(%rip)        # 601030 <__libc_start_main@GLIBC_2.2.5>
  400566:	68 03 00 00 00       	pushq  $0x3
  40056b:	e9 b0 ff ff ff       	jmpq   400520 <.plt>

0000000000400570 <__gmon_start__@plt>:
  400570:	ff 25 c2 0a 20 00    	jmpq   *0x200ac2(%rip)        # 601038 <__gmon_start__>
  400576:	68 04 00 00 00       	pushq  $0x4
  40057b:	e9 a0 ff ff ff       	jmpq   400520 <.plt>

0000000000400580 <getppid@plt>:
  400580:	ff 25 ba 0a 20 00    	jmpq   *0x200aba(%rip)        # 601040 <getppid@GLIBC_2.2.5>
  400586:	68 05 00 00 00       	pushq  $0x5
  40058b:	e9 90 ff ff ff       	jmpq   400520 <.plt>

0000000000400590 <sleep@plt>:
  400590:	ff 25 b2 0a 20 00    	jmpq   *0x200ab2(%rip)        # 601048 <sleep@GLIBC_2.2.5>
  400596:	68 06 00 00 00       	pushq  $0x6
  40059b:	e9 80 ff ff ff       	jmpq   400520 <.plt>

00000000004005a0 <fork@plt>:
  4005a0:	ff 25 aa 0a 20 00    	jmpq   *0x200aaa(%rip)        # 601050 <fork@GLIBC_2.2.5>
  4005a6:	68 07 00 00 00       	pushq  $0x7
  4005ab:	e9 70 ff ff ff       	jmpq   400520 <.plt>

Disassembly of section .text:

00000000004005b0 <_start>:
  4005b0:	31 ed                	xor    %ebp,%ebp
  4005b2:	49 89 d1             	mov    %rdx,%r9
  4005b5:	5e                   	pop    %rsi
  4005b6:	48 89 e2             	mov    %rsp,%rdx
  4005b9:	48 83 e4 f0          	and    $0xfffffffffffffff0,%rsp
  4005bd:	50                   	push   %rax
  4005be:	54                   	push   %rsp
  4005bf:	49 c7 c0 00 08 40 00 	mov    $0x400800,%r8
  4005c6:	48 c7 c1 90 07 40 00 	mov    $0x400790,%rcx
  4005cd:	48 c7 c7 9d 06 40 00 	mov    $0x40069d,%rdi
  4005d4:	e8 87 ff ff ff       	callq  400560 <__libc_start_main@plt>
  4005d9:	f4                   	hlt    
  4005da:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)

00000000004005e0 <deregister_tm_clones>:
  4005e0:	b8 67 10 60 00       	mov    $0x601067,%eax
  4005e5:	55                   	push   %rbp
  4005e6:	48 2d 60 10 60 00    	sub    $0x601060,%rax
  4005ec:	48 83 f8 0e          	cmp    $0xe,%rax
  4005f0:	48 89 e5             	mov    %rsp,%rbp
  4005f3:	77 02                	ja     4005f7 <deregister_tm_clones+0x17>
  4005f5:	5d                   	pop    %rbp
  4005f6:	c3                   	retq   
  4005f7:	b8 00 00 00 00       	mov    $0x0,%eax
  4005fc:	48 85 c0             	test   %rax,%rax
  4005ff:	74 f4                	je     4005f5 <deregister_tm_clones+0x15>
  400601:	5d                   	pop    %rbp
  400602:	bf 60 10 60 00       	mov    $0x601060,%edi
  400607:	ff e0                	jmpq   *%rax
  400609:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000400610 <register_tm_clones>:
  400610:	b8 60 10 60 00       	mov    $0x601060,%eax
  400615:	55                   	push   %rbp
  400616:	48 2d 60 10 60 00    	sub    $0x601060,%rax
  40061c:	48 c1 f8 03          	sar    $0x3,%rax
  400620:	48 89 e5             	mov    %rsp,%rbp
  400623:	48 89 c2             	mov    %rax,%rdx
  400626:	48 c1 ea 3f          	shr    $0x3f,%rdx
  40062a:	48 01 d0             	add    %rdx,%rax
  40062d:	48 d1 f8             	sar    %rax
  400630:	75 02                	jne    400634 <register_tm_clones+0x24>
  400632:	5d                   	pop    %rbp
  400633:	c3                   	retq   
  400634:	ba 00 00 00 00       	mov    $0x0,%edx
  400639:	48 85 d2             	test   %rdx,%rdx
  40063c:	74 f4                	je     400632 <register_tm_clones+0x22>
  40063e:	5d                   	pop    %rbp
  40063f:	48 89 c6             	mov    %rax,%rsi
  400642:	bf 60 10 60 00       	mov    $0x601060,%edi
  400647:	ff e2                	jmpq   *%rdx
  400649:	0f 1f 80 00 00 00 00 	nopl   0x0(%rax)

0000000000400650 <__do_global_dtors_aux>:
  400650:	80 3d 09 0a 20 00 00 	cmpb   $0x0,0x200a09(%rip)        # 601060 <__TMC_END__>
  400657:	75 11                	jne    40066a <__do_global_dtors_aux+0x1a>
  400659:	55                   	push   %rbp
  40065a:	48 89 e5             	mov    %rsp,%rbp
  40065d:	e8 7e ff ff ff       	callq  4005e0 <deregister_tm_clones>
  400662:	5d                   	pop    %rbp
  400663:	c6 05 f6 09 20 00 01 	movb   $0x1,0x2009f6(%rip)        # 601060 <__TMC_END__>
  40066a:	f3 c3                	repz retq 
  40066c:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000400670 <frame_dummy>:
  400670:	48 83 3d a8 07 20 00 	cmpq   $0x0,0x2007a8(%rip)        # 600e20 <__JCR_END__>
  400677:	00 
  400678:	74 1e                	je     400698 <frame_dummy+0x28>
  40067a:	b8 00 00 00 00       	mov    $0x0,%eax
  40067f:	48 85 c0             	test   %rax,%rax
  400682:	74 14                	je     400698 <frame_dummy+0x28>
  400684:	55                   	push   %rbp
  400685:	bf 20 0e 60 00       	mov    $0x600e20,%edi
  40068a:	48 89 e5             	mov    %rsp,%rbp
  40068d:	ff d0                	callq  *%rax
  40068f:	5d                   	pop    %rbp
  400690:	e9 7b ff ff ff       	jmpq   400610 <register_tm_clones>
  400695:	0f 1f 00             	nopl   (%rax)
  400698:	e9 73 ff ff ff       	jmpq   400610 <register_tm_clones>

000000000040069d <main>:
  40069d:	55                   	push   %rbp
  40069e:	48 89 e5             	mov    %rsp,%rbp
  4006a1:	41 54                	push   %r12
  4006a3:	53                   	push   %rbx
  4006a4:	48 83 ec 10          	sub    $0x10,%rsp
  4006a8:	e8 d3 fe ff ff       	callq  400580 <getppid@plt>
  4006ad:	89 c3                	mov    %eax,%ebx
  4006af:	e8 8c fe ff ff       	callq  400540 <getpid@plt>
  4006b4:	89 da                	mov    %ebx,%edx
  4006b6:	89 c6                	mov    %eax,%esi
  4006b8:	bf 20 08 40 00       	mov    $0x400820,%edi
  4006bd:	b8 00 00 00 00       	mov    $0x0,%eax
  4006c2:	e8 89 fe ff ff       	callq  400550 <printf@plt>
  4006c7:	bf 02 00 00 00       	mov    $0x2,%edi
  4006cc:	e8 bf fe ff ff       	callq  400590 <sleep@plt>
  4006d1:	e8 ca fe ff ff       	callq  4005a0 <fork@plt>
  4006d6:	89 45 e8             	mov    %eax,-0x18(%rbp)
  4006d9:	c7 45 ec 03 00 00 00 	movl   $0x3,-0x14(%rbp)
  4006e0:	83 7d e8 00          	cmpl   $0x0,-0x18(%rbp)
  4006e4:	75 59                	jne    40073f <main+0xa2>
  4006e6:	44 8b 25 6f 09 20 00 	mov    0x20096f(%rip),%r12d        # 60105c <g_val>
  4006ed:	e8 8e fe ff ff       	callq  400580 <getppid@plt>
  4006f2:	89 c3                	mov    %eax,%ebx
  4006f4:	e8 47 fe ff ff       	callq  400540 <getpid@plt>
  4006f9:	41 b8 5c 10 60 00    	mov    $0x60105c,%r8d
  4006ff:	44 89 e1             	mov    %r12d,%ecx
  400702:	89 da                	mov    %ebx,%edx
  400704:	89 c6                	mov    %eax,%esi
  400706:	bf 48 08 40 00       	mov    $0x400848,%edi
  40070b:	b8 00 00 00 00       	mov    $0x0,%eax
  400710:	e8 3b fe ff ff       	callq  400550 <printf@plt>
  400715:	bf 01 00 00 00       	mov    $0x1,%edi
  40071a:	e8 71 fe ff ff       	callq  400590 <sleep@plt>
  40071f:	83 6d ec 01          	subl   $0x1,-0x14(%rbp)
  400723:	83 7d ec 00          	cmpl   $0x0,-0x14(%rbp)
  400727:	75 54                	jne    40077d <main+0xe0>
  400729:	c7 05 29 09 20 00 2c 	movl   $0x12c,0x200929(%rip)        # 60105c <g_val>
  400730:	01 00 00 
  400733:	bf 88 08 40 00       	mov    $0x400888,%edi
  400738:	e8 f3 fd ff ff       	callq  400530 <puts@plt>
  40073d:	eb a1                	jmp    4006e0 <main+0x43>
  40073f:	44 8b 25 16 09 20 00 	mov    0x200916(%rip),%r12d        # 60105c <g_val>
  400746:	e8 35 fe ff ff       	callq  400580 <getppid@plt>
  40074b:	89 c3                	mov    %eax,%ebx
  40074d:	e8 ee fd ff ff       	callq  400540 <getpid@plt>
  400752:	41 b8 5c 10 60 00    	mov    $0x60105c,%r8d
  400758:	44 89 e1             	mov    %r12d,%ecx
  40075b:	89 da                	mov    %ebx,%edx
  40075d:	89 c6                	mov    %eax,%esi
  40075f:	bf b8 08 40 00       	mov    $0x4008b8,%edi
  400764:	b8 00 00 00 00       	mov    $0x0,%eax
  400769:	e8 e2 fd ff ff       	callq  400550 <printf@plt>
  40076e:	bf 01 00 00 00       	mov    $0x1,%edi
  400773:	e8 18 fe ff ff       	callq  400590 <sleep@plt>
  400778:	e9 63 ff ff ff       	jmpq   4006e0 <main+0x43>
  40077d:	e9 5e ff ff ff       	jmpq   4006e0 <main+0x43>
  400782:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
  400789:	00 00 00 
  40078c:	0f 1f 40 00          	nopl   0x0(%rax)

0000000000400790 <__libc_csu_init>:
  400790:	41 57                	push   %r15
  400792:	41 89 ff             	mov    %edi,%r15d
  400795:	41 56                	push   %r14
  400797:	49 89 f6             	mov    %rsi,%r14
  40079a:	41 55                	push   %r13
  40079c:	49 89 d5             	mov    %rdx,%r13
  40079f:	41 54                	push   %r12
  4007a1:	4c 8d 25 68 06 20 00 	lea    0x200668(%rip),%r12        # 600e10 <__frame_dummy_init_array_entry>
  4007a8:	55                   	push   %rbp
  4007a9:	48 8d 2d 68 06 20 00 	lea    0x200668(%rip),%rbp        # 600e18 <__init_array_end>
  4007b0:	53                   	push   %rbx
  4007b1:	4c 29 e5             	sub    %r12,%rbp
  4007b4:	31 db                	xor    %ebx,%ebx
  4007b6:	48 c1 fd 03          	sar    $0x3,%rbp
  4007ba:	48 83 ec 08          	sub    $0x8,%rsp
  4007be:	e8 35 fd ff ff       	callq  4004f8 <_init>
  4007c3:	48 85 ed             	test   %rbp,%rbp
  4007c6:	74 1e                	je     4007e6 <__libc_csu_init+0x56>
  4007c8:	0f 1f 84 00 00 00 00 	nopl   0x0(%rax,%rax,1)
  4007cf:	00 
  4007d0:	4c 89 ea             	mov    %r13,%rdx
  4007d3:	4c 89 f6             	mov    %r14,%rsi
  4007d6:	44 89 ff             	mov    %r15d,%edi
  4007d9:	41 ff 14 dc          	callq  *(%r12,%rbx,8)
  4007dd:	48 83 c3 01          	add    $0x1,%rbx
  4007e1:	48 39 eb             	cmp    %rbp,%rbx
  4007e4:	75 ea                	jne    4007d0 <__libc_csu_init+0x40>
  4007e6:	48 83 c4 08          	add    $0x8,%rsp
  4007ea:	5b                   	pop    %rbx
  4007eb:	5d                   	pop    %rbp
  4007ec:	41 5c                	pop    %r12
  4007ee:	41 5d                	pop    %r13
  4007f0:	41 5e                	pop    %r14
  4007f2:	41 5f                	pop    %r15
  4007f4:	c3                   	retq   
  4007f5:	90                   	nop
  4007f6:	66 2e 0f 1f 84 00 00 	nopw   %cs:0x0(%rax,%rax,1)
  4007fd:	00 00 00 

0000000000400800 <__libc_csu_fini>:
  400800:	f3 c3                	repz retq 

Disassembly of section .fini:

0000000000400804 <_fini>:
  400804:	48 83 ec 08          	sub    $0x8,%rsp
  400808:	48 83 c4 08          	add    $0x8,%rsp
  40080c:	c3                   	retq   
